package Events
{
	import flash.events.Event;
	
	public class ModuleEvent extends Event
	{
		
		public static const RESIZE:String = "Resize";
		public static const RESLOADED:String = "ResLoaded";
		public static const INIT:String = "Init";
		
		public static const LOGINRELEASE:String = "LoginRelease";
		public static const LOGINSTAGE:String = "LoginStage";
		public static const MAINSTAGE:String = "MainStage";
		public static const MAINRELEASE:String = "MainRelease";
		
		public static const KEYCODE:String = "KeyCode";
		
		public var object:Object = null;
		
		// Constructor
		public function ModuleEvent( type:String, bubbles:Boolean = false, cancelable:Boolean = false ) 
		{
			// Pass constructor parameters to the superclass constructor
			super( type, bubbles, cancelable );
		}
		
		// Every custom event class must override clone()
		public override function clone():Event
		{
			return new ModuleEvent( type, bubbles, cancelable );
		}
		
		public override function toString():String
		{
			return "ModuleEvent";
		}

	}
}